package com.logicalthinking.socialmall.dao;

import com.logicalthinking.socialmall.common.vo.requestVo.role.RolePageQueryParams;
import com.logicalthinking.socialmall.common.vo.responseVo.role.RoleVo;
import com.logicalthinking.socialmall.entity.Role;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 角色表
 *
 * @author chenLiJia
 * @version 1.0
 * @since 2020-02-17 14:43:32
 **/
public interface RoleMapper extends Mapper<Role> {
    Role selectByPrimaryKey(Integer id);

    /**
     * 列表查询权限列表
     *
     * @param params
     * @return
     */
    List<RoleVo> listPage(RolePageQueryParams params);
}